package com.dp.factory.factory_method.factory.impl;

import com.dp.factory.factory_method.factory.FreeGoodsFactory;
import com.dp.factory.simple_factory.service.IFreeGoods;
import com.dp.factory.simple_factory.service.impl.DiscountFreeGoods;

/**
 * @Author: Ruomeng
 * @Date: 2024/11/26
 * @Description : design-pattern
 * 优惠卷发放接口-具体工厂
 * @Version: 1.0
 */
public class DiscountFreeGoodsFactory implements FreeGoodsFactory {
    @Override
    public IFreeGoods getInstance() {
        return new DiscountFreeGoods();
    }

}
